package com.example.business_oa.controller;

import com.example.business_oa.service.OvService;
import com.example.comment_oa.response.AjaxResponse;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@CrossOrigin
@RequestMapping("/businessOa/Ov")
public class OvContronller {
    @Resource
    OvService ovService;

    @PostMapping("ap")
    public AjaxResponse ap(){
        return AjaxResponse.success();
    }

    @PostMapping("yes")
    public AjaxResponse yesOv(){
        return AjaxResponse.success();
    }

    @PostMapping("no")
    public AjaxResponse noOv(){
        return AjaxResponse.success();
    }
}
